<div xmlns:th="http://www.thymeleaf.org">
    <table class="table table-striped mt-3">
        <tr>
            <td>档案编码</td>
            <td>姓名</td>
            <td>性别</td>
            <td>所属部门</td>
            <td>职位</td>
            <td>建档日期</td>
            <td>审核状态</td>
            <td>档案状态</td>
            <td>操作</td>
        </tr>
        <tr th:each="info:${pageInfo.list}">
            <td th:text="${info.code}"></td>
            <td th:text="${info.name}"></td>
            <td th:if="${info.gender==0}" th:text="女"></td>
            <td th:if="${info.gender==1}" th:text="男"></td>
            <td th:text="${info.fullName}"></td>
            <td th:text="${info.pName}"></td>
            <td th:text="${info.createdDate}"></td>
            <td th:text="${info.auditStatus}"></td>
            <td th:text="${info.status}" class="status"></td>
            <!--起草 审核通过 未删除-->
            <td>
                <a th:if="${info.auditStatus =='起草' }" th:href="@{/sys/archives/update(id=${info.id},identified=${0})}">修改</a>
                <a th:if="${ info.status!= '已删除' && info.auditStatus!= '审核中' }" href="javascript:;"
                   th:onclick="|recover(${14},${info.id})|">删除</a>
                <a th:if="${info.auditStatus =='审核通过' && info.status =='正式员工'}"
                   th:href="@{/sys/archives/update(id=${info.id},identified=${1})}">变更</a>
                <a th:if="${info.status == '已删除'}" href="javascript:;"
                   th:onclick="|del(${info.id})|">永久删除</a>
                <a th:if="${info.status == '已删除'}" href="javascript:;"
                   th:onclick="|recover(${13},${info.id})|">恢复</a>
                <a th:if="${info.auditStatus !='审核通过' }"
                   th:href="@{/sys/archives/update(id=${info.id},identified=${2})}">审核</a>
            </td>
        </tr>
    </table>
    <div th:replace="common/comm :: #page ">
    </div>
</div>

